﻿using UnityEngine;
using System.Runtime.InteropServices;

//显示昵称
public class MainPanel : MonoBehaviour
{
    [DllImport("__Internal")]
    private static extern string GetID(string id);
    public static string IDMsg = string.Empty;
    private void Start()
    {
#if !UNITY_EDITOR && UNITY_WEBGL
        //传递id值给html显示
        GetID(UserSingleton.showName);
#endif
    }
}
